package top.lingkang.finaloauth.server.base;

import top.lingkang.finaloauth.entity.OauthUser;

/**
 * @author lingkang
 * Created by 2022/3/16
 */
public interface OauthUserRepository {

    OauthUser getUser(String token);

    void addUser(String token, OauthUser user);

}
